projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f737246
)
bgo#652045 - Initialize local_only in GtkFileChooserEntry
author
Michal Suchanek
<hramrach@gmail.com>
Wed, 8 Jun 2011 21:24:48 +0000
(16:24 -0500)
committer
Federico Mena Quintero
<federico@gnome.org>
Wed, 8 Jun 2011 21:24:48 +0000
(16:24 -0500)
This has to be done also when we switch to the entry, otherwise completion for
non-local URIs won't work.
gtk/gtkfilechooserdefault.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserdefault.c
b/gtk/gtkfilechooserdefault.c
index c583ec2b8f58f2aaa9d50a318ff54fccca81c159..c316fb2fcc390e0379ef77a64e78dc72fc23ade5 100644
(file)
--- a/
gtk/gtkfilechooserdefault.c
+++ b/
gtk/gtkfilechooserdefault.c
@@
-4867,6
+4867,7
@@
location_switch_to_filename_entry (GtkFileChooserDefault *impl)
/* Configure the entry */
_gtk_file_chooser_entry_set_base_folder (GTK_FILE_CHOOSER_ENTRY (impl->location_entry), impl->current_folder);
+ _gtk_file_chooser_entry_set_local_only (GTK_FILE_CHOOSER_ENTRY (impl->location_entry), impl->local_only);
/* Done */